import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
    plugins: [
        vue(),
    ],
    server: {
        // 跨域配置
        host: '0.0.0.0',
        port: 5173,
        open: false, // 是否自动打开浏览器
    },
    assetsInclude: ['**/*.md'],
    resolve: {
        alias: [
            {
                find: '@',
                replacement: '/src'
            }
        ]
    }
})
